<h1>Listing servicetags</h1>

<table>
  <tr>
  <th>Name</th>
  <th>Description</th>
  <% if logged? %>
  <th></th><th></th><th></th>
  <% end %>
  </tr>

<% @servicetags.each do |servicetag| %>
  <tr>
    <td><%=h servicetag.name %></td>
    <td><%=h servicetag.description %></td>
  <% if logged? %>
    <td><%= link_to 'Show', servicetag %></td>
    <td><%= link_to 'Edit', edit_servicetag_path(servicetag) %></td>
    <td><%= link_to 'Destroy', servicetag, :confirm => 'Are you sure?', :method => :delete %></td>
  <% end %>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New servicetag', new_servicetag_path if logged? %>
